package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.props.reward.RewardDetailStatusEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("sc_mall_user_props_rewards_detail")
public class MallUserPropsRewardsDetail extends SuperEntity implements Serializable {

    /**
     * daoId
     */
    @TableField(value = "dao_id")
    private Long daoId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 道具id
     */
    @TableField(value = "props_id")
    private Long propsId;

    /**
     * 道具奖励数量
     */
    @TableField(value = "props_rewards_num")
    private Integer propsRewardsNum;

    /**
     * 消费金额
     */
    @TableField(value = "consumption_amount")
    private BigDecimal consumptionAmount;

    /**
     * 订单编号
     */
    @TableField(value = "order_no")
    private String orderNo;

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 商品id
     */
    @TableField(value = "product_id")
    private Long productId;


    /**
     * 0待计入 1已计入 2已释放
     */
    @TableField(value = "`status`")
    private RewardDetailStatusEnum status;
} 